package com.sdy.healthcode.biz.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.sdy.common.model.BaseModel;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.sdy.common.utils.DateUtil;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author cgj
 * @since 2020-02-25
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class NcovNationwide extends BaseModel {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    private Integer id;

    /**
     * 现有确诊
     */
    private Integer exConfirmed;

    /**
     * 现有确诊较昨日对比
     */
    private Integer exCoYday;

    /**
     * 现有疑似
     */
    private Integer exSuspected;

    /**
     * 现有疑似较昨日对比
     */
    private Integer exSuYday;

    /**
     * 现有重症
     */
    private Integer exSevere;

    /**
     * 现有重症较昨日对比
     */
    private Integer exSeYday;

    /**
     * 累计确诊
     */
    private Integer cuConfirmed;

    /**
     * 新增确诊/累计确诊较昨日对比
     */
    private Integer cuCoYday;

    /**
     * 累计治愈
     */
    private Integer cuCure;

    /**
     * 累计治愈较昨日对比
     */
    private Integer cuCuYday;

    /**
     * 累计死亡
     */
    private Integer cuDeath;

    /**
     * 累计死亡较昨日对比
     */
    private Integer cuDeYday;

    /**
     * 数据来源
     */
    private String source;

    /**
     * 修改时间
     */
    @JsonFormat(pattern = DateUtil.DATETIME_FORMAT)
    private Date updateTime;

    /**
     * 更新日期
     */
    @JsonFormat(pattern = DateUtil.DATE_FORMAT)
    private Date statisticDate;

}
